package pATT.DataSetsGenerator.dataSetsGenerator.associationManager.implement;

import java.util.Vector;

public class AssociationRule{

	private Vector<String> antecedents = new Vector<String>();
	private Vector<String> consecuents = new Vector<String>();
	private int support = 0;
	private int confidence = 0;
	
	public AssociationRule() {
	}

	public int getConfidence() {
		return confidence;
	}

	public void setConfidence(int confidence) {
		this.confidence = confidence;
	}

	public int getSupport() {
		return support;
	}

	public void setSupport(int support) {
		this.support = support;
	}

	public Vector<String> getAntecedents() {
		return antecedents;
	}

	public Vector<String> getConsecuents() {
		return consecuents;
	}

	public void setAntecedent(String att){
		antecedents.addElement(att);
	}
	
	public void setConsecuent(String att){
		consecuents.addElement(att);
	}
	
	

	
	
	
	
}
